#-*- coding:utf-8 -*-

# s = '0.0001100110011001100110011001100110011001100110011'

# print(len(s))
bin = '22'
bin1 = '0.00011001100110011001100110011001100110011001100110011010'
# bin2 = '0.00011001100110011001100110011001100110011001100110011001'
bin3 = '0.00110011001100110011001100110011001100110011001100110110'
bin4 = '0.01001100110011001100110011001100110011001100110011001011'
# bin2 = '0.000110011'
print(len(bin))
# ss = bin3[2:]
# # print(ss)
# sum = 0
# for i in range(len(ss)):
#     print(sum)
#     sum += int(ss[i])*(2**(-1*(i+1)))

# print(str(sum))
# bin2 = '1000000000001111111'
# print(int(bin2,base=2))

# import chardet
#
# l = b'\xc3\x83\xc3\xbb\xc2\xb4\xc3\x8e'
# print(chardet.detect(l))
